import requests

class courseAPI:
    def __init__(self):
        self.url = "https://kdtx-test.itheima.net/api/clues/course"

    def add_clue(self, test_data,token):
        return requests.post(url=self.url, headers={"Authorization":token}, json=test_data)
